package com.payment.common.utils;

/**
 * @author fuzhili
 * @Description: 图片地址添加前缀
 * @date 2019/2/20 8:43
 */
public class ImgUrlAddPrefixUtil {

    /**
     *
     * @param imgUrl  图片地址
     * @return
     */
    public static  String imgUrlUpdate(String imgUrl) {
        String imgUrlNow="";
        if(StringUtils.isEmpty(imgUrl)){
            return  imgUrlNow;
        }
        String[] spit=imgUrl.split(";");

        for (int i=0;i<spit.length;i++){
            imgUrlNow+= spit[i]+";";
        }
        return  imgUrlNow.substring(0,imgUrlNow.length()-1);
    }


}
